export const add = (morey) => {
  return {
    type: 'add',
    morey,
  }
}

export const addAync = (morey) => {
  return (dispatch) => {
    setTimeout(() => {
      dispatch(add(morey))
    }, 1000)
  }
}

export const minus = (morey) => {
  return {
    type: 'minus',
    morey,
  }
}
